package com.easthome.service;

import com.easthome.entity.Manager;
import com.easthome.entity.UserInfo;

/**
 * @author cxiaoy
 * @Date 2022/10/18 11:01
 */
public interface UserService {


    UserInfo login(UserInfo user);

    boolean checkUsername(String userName);

    int register(UserInfo user);

    Manager loginM(Manager manager);
}
